home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 7_4.lha / 7_4 / 7_4e.eqn < prev    next >
Text File  |  1993-08-08  |  473b  |  14 lines

  1. .EQ
  2. elim $$
  3. .EN
  4. he distance between two points is given by the formula
  5. sqrt { DELTA x sup 2 + DELTA y sup 2 }$.
  6. DELTA x$ is the difference between the $x$ values of the two points;
  7. imilarly for $DELTA y$.
  8. fter gathering the 8 contact points, it is straightforward to loop
  9. hrough all of the combinations of points to find which pair of points is
  10. losest together.
  11. nce the two closest points are found, the
  12. .CW put_line ()
  13. unction can be called to draw the line between them.
  14.